package com.google.code.coma;

import com.google.code.coma.logistics.RmiLogisticsWorker;
import com.google.code.coma.logistics.SpaceLogisticsWorker;

/**
 * @author Bernhard Nickel, e0925384@student.tuwien.ac.at
 */
public class LogisticsWorkerLauncher {
	public static void main(String... args) {
		if (args[0].equals("SPACE"))
			new SpaceLogisticsWorker(args[1]).startWork();
		else if (args[0].equals("RMI"))
			new RmiLogisticsWorker(args[1]).startWork();
	}
}
